﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Person
/// </summary>
public abstract class Person
{
    protected int _id;
    protected string _firstName = "";
    protected string _middleName = "";
    protected string _lastName = "";
    protected string _emailAddress = "";
    protected Address _homeAddr = new Address();
    protected Address _workAddr = new Address();

    public int ID
    {
        get
        {
            return _id;
        }
        set
        {
            _id = value;
        }
    }
    public string FirstName
    {
        get
        {
            return _firstName;
        }
        set
        {
            _firstName = value;
        }
    }
    public string MiddleName
    {
        get
        {
            return _middleName;
        }
        set
        {
            _middleName = value;
        }
    }
    public string LastName
    {
        get
        {
            return _lastName;
        }
        set
        {
            _lastName = value;
        }
    }
    public string EmailAddress
    {
        get
        {
            return _emailAddress;
        }
        set
        {
            _emailAddress = value;
        }
    }
    public Address HomeAddress
    {
        get
        {
            return _homeAddr;
        }
        set
        {
            _homeAddr = value;
        }
    }
    public Address WorkAddress
    {
        get
        {
            return _workAddr;
        }
        set
        {
            _workAddr = value;
        }
    }
}
